﻿using RearLivestock.Common.Domains.Enum;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RearLivestock.Common.Dtos
{
    /// <summary>
    /// 猪只信息
    /// </summary>
    public class EchartsBasicInformationDto
    {
        /// <summary>
        /// 基本信息Id
        /// </summary>
        public int BasicInforId { get; set; }
        /// <summary>
        /// 耳号
        /// </summary>
        public string EarNumber { get; set; } = string.Empty;
        /// <summary>
        /// 电子耳标号
        /// </summary>
        public string Electronicearlabel { get; set; } = string.Empty;
        /// <summary>
        /// 品种ID
        /// </summary>
        public int VarietiesId { get; set; }
        /// <summary>
        /// 品种名称
        /// </summary>
        public string VarietiesName { get; set; } = string.Empty;
        /// <summary>
        /// 猪只类型Id
        /// </summary>
        public int PigTypeId { get; set; }
        /// <summary>
        /// 猪只类型名称
        /// </summary>
        public string PigTypeName { get; set; } = string.Empty;
        /// <summary>
        /// 公猪初期
        /// </summary>
        public int InfancieId { get; set; }
    }
    /// <summary>
    /// 类型分组个数
    /// </summary>
    public class PigCount
    { 
        /// <summary>
        /// 名称
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 个数
        /// </summary>
        public int value { get; set; }
    }
}
